package com.lrkj.back.mapper;

import java.util.List;
import java.util.Map;

import com.lrkj.back.entity.TbDict;
import cn.com.cbons.mamisay.parent.db.api.DBInterface;
import cn.com.cbons.mamisay.parent.exception.DBException;

public interface TbDictMapper  extends DBInterface<TbDict> {
	/**
	 * 分页查询所有的字典信息
	 * @param map
	 * @return
	 */
	List<TbDict> queryTbDictList(Map<String, Object> map) throws DBException;
	
	
	List<TbDict> findDictSubitems(Map<String, Object> map) throws DBException;
	
	
	TbDict selectByCode(String dictCode) throws DBException;
	
	List<TbDict> findDictList() throws DBException;
	
	void deleteChildNodes(Integer dictParentid) throws DBException;
	
	List<TbDict> findDetailByCode(String dictCode) throws DBException;
}